<%@ page language="java" pageEncoding="UTF-8" buffer="16kb"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<%@ include file="/module/js.jsp"%>
<%@ include file="/module/orderField.jsp"%>

<style>

table label.error {
    margin-left: 5px;
    width: auto;
    display: inline;
    color: red;
}


</style>
</head>
<body>
     <form action="#" name="Form" id="Form" method="post">
       <input type="hidden" name="id" id="id"  value="${data.id}"/>
		<table cellpadding="0" cellspacing="0" border="0" class="table-border" width="80%">
			<tr>
				<td class="table-header" colspan="4">项目管理</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 30%">项目名：</td>
				<td class="table-contentTD" style="width: 70%">${data.projectName}</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 30%">周期：</td>
				<td class="table-contentTD" style="width: 70%">${data.cycle}</td>		
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 30%">完成时间：</td>
				<td class="table-contentTD">${data.completeDate}</td>
			</tr>
			
			<tr>
			    <td class="table-titleTD" style="width: 30%">负责人：</td>
				<td class="table-contentTD" style="width: 70%">${data.xm}</td>
				
				<%--  <select name="principal" id="principal" multiple="multiple" style="height: auto; width:100px;" class="required">
								<c:forEach items="${List}" var="data">
									<option value="${data.emid}">${data.xm}</option>
								</c:forEach>
				 </select> --%>
				
				 
				<%-- <input type="text" id="principal" name="principal"  placeholder="负责人"  autocomplete="off"  value="${data.principal}"  maxlength="50" class="required" /> --%></td>	
			</tr>
			<tr>
				<td class="table-titleTD">备注：</td>
				<td class="table-contentTD" colspan="2">${data.other}</td>
			</tr>
		</table>
		<br />
		<table cellpadding="1" cellspacing="1" border="0" align="left">
			<tr>
			<kl:permission permisstionList="${permisstionList}" currentUser="${_login_console_user}" currentCatalogId="<%=CatalogUtils.getCatalogId(\"OF_ZLTS_XMG\")%>" key="modify">	
				<td><input type="button" id="btnSave" class="inputButton" style="text-align: center;" value="修改" /></td>
		    </kl:permission>
				<td><input type="button" id="returnBut"  class="inputButton" value="返回"  style="text-align: center;"/></td>
			</tr>
		</table>
		<script>
		 
			$(document).ready(function() {
				 $("#btnSave").click(function() {
					 window.location.href ="${basePath}/project/updateToview?id="+ $("#id").val();
		 		 });
				
				
				 $("#returnBut").click(function() {
		 			 window.location.href='${basePath}/project/index';
		 		 });
			});
		</script>
	</form>
</body>
</html>
